/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Logic;

/**
 *
 * @author TuxCompany
 */
/**
 * @Message Variables dedicadas al tipo de mensaje
 */
public class MessageBox {

    public static int Informacion = javax.swing.JOptionPane.INFORMATION_MESSAGE;
    public static int Error = javax.swing.JOptionPane.ERROR_MESSAGE;
    public static int Warning = javax.swing.JOptionPane.WARNING_MESSAGE;
    public static javax.swing.JFrame Frame;

//    public static void show(JFrame c, String title, Object Content, int Type) {
//        JOptionPane.showMessageDialog(c, Content, title, Type);
//    }
    public static void show(javax.swing.JFrame c, String title, Object Content, int Type) {
        javax.swing.JOptionPane.showMessageDialog(c, Content, title, Type);
    }

    public static void show(javax.swing.JComponent c, String title, Object Content, int Type) {
        javax.swing.JOptionPane.showMessageDialog(c, Content, title, Type);
    }

    public static void show(String title, Object Content, int Type) {
        javax.swing.JOptionPane.showMessageDialog(null, Content, title, Type);
    }

    public static void show(javax.swing.JComponent c,Object Content) {
        show(c,"-", Content, MessageBox.Informacion);
    }
}
